package studio.raptor.ddal.dashboard.service.interfaces;

import studio.raptor.ddal.dashboard.log.bo.ConnPoolLogExtendData;
import studio.raptor.ddal.dashboard.log.bo.SqlProcessLogExtendData;
import java.util.List;

/**
 * Created by Administrator on 2018/1/8.
 */
public interface DdalMonitorService {
    /**
     * SqlProcessLogExtendData 日志处理
     * @param acceptBeginTime
     * @param acceptEndTime
     * @param appName
     * @param sqlType
     * @param page
     * @param pageVolume
     * @return
     */
    public List<SqlProcessLogExtendData> getSqlProcessLogData(String acceptBeginTime,String acceptEndTime,String appName,String sqlType,String processTime,String success,int page,int pageVolume);

    /**
     * ConnPoolLogExtendData 日志处理
     * @param acceptBeginTime
     * @param acceptEndTime
     * @param appName
     * @param username
     * @param page
     * @param pageVolume
     * @return
     */
    public List<ConnPoolLogExtendData> getConnPoolLogData(String acceptBeginTime, String acceptEndTime, String appName, String username, int page, int pageVolume);
}
